//
//  NetUser.h
//  CarCare
//
//  Created by ileo on 14-8-11.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import "NetEngine.h"

@interface NetUser : NetEngine

//登录
+(NetUser *)loginWithTel:(NSString *)tel
                    code:(NSString *)code;

//获取语音验证码
+(NetUser *)callMessageFromTel:(NSString *)tel;

+(NetUser *)getUserInfo;
//用户设备信息采集上传
+(NetUser *)pushUserLocInfo;
//上传支付宝信息
+(NetUser *)bindingAliWithRealName:(NSString *)realName
                            alipay:(NSString *)alipay
                            idCard:(NSString *)idCard;
// 退出登录
+(NetUser *)loginOut;
 // 乐程登录
+(NetUser *)loginByLCWithTel:(NSString *)tel
                         pwd:(NSString *)pwd;

#pragma mark - old

//设置头像
+(NetUser *)setIcon:(UIImage *)icon;

//设置用户名
+(NetUser *)setUserName:(NSString *)userName;

//设置新手机号
+(NetUser *)setNewTel:(NSString *)newTel
                 code:(NSString *)code;

@end
